FROM aallam/tomcat-mysql

COPY xxx.war /opt/tomcat/webapps/

COPY xxx.sql /opt/

COPY initdb.sh /opt/

RUN /opt/initdb.sh

RUN rm /opt/initdb.sh

ENTRYPOINT /opt/run.sh


